import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//注册全局组件
import TypeNav from '@/components/TypeNav'
//
import '@/plugins/swiper.js'

import 'swiper/css/swiper.css'  //一次引入即可

Vue.component(TypeNav.name,TypeNav)
Vue.config.productionTip = false

new Vue({
  el:'#app',
  render: h=> h(App),
  router,  // 注册路由器
  store,
})
